package com.project.swagger;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * swagger
 *001
 *         <dependency>
 *             <groupId>io.springfox</groupId>
 *             <artifactId>springfox-boot-starter</artifactId>
 *             <version>3.0.0</version>
 *         </dependency>
 *002 注意
 *    <parent>
 *         <artifactId>spring-boot-starter-parent</artifactId>
 *         <groupId>org.springframework.boot</groupId>
 *         <version>2.3.6.RELEASE</version>
 *     </parent>
 *这个依赖可以，其他的依赖不兼容--报错
 * 003
 * http://localhost:8080/swagger-ui/index.html
 */
@SpringBootApplication
public class Main {
    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
        System.out.println("Hello world!");
    }
}